package com.example.controller;

import com.example.modle.User;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class RxjavatestController {
    @GetMapping("/threadtest")
    public User testThread(){

        return User.builder()
                .age(18)
                .name("evan")
                .build();

    }

}
